package io.gitee.zhangbinhub.admin.resource.server.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@ApiModel("流程任务")
data class ProcessTaskVo(
    @ApiModelProperty(name = "流程实例id")
    var processInstanceId: String? = null,
    @ApiModelProperty(name = "流程定义键")
    var processDefinitionKey: String? = null,
    @ApiModelProperty(name = "流程名称")
    var flowName: String? = null,
    @ApiModelProperty(name = "任务id")
    var taskId: String? = null,
    @ApiModelProperty(name = "节点编码")
    var nodeCode: String? = null,
    @ApiModelProperty(name = "节点名称")
    var nodeName: String? = null,
    @ApiModelProperty(name = "业务键")
    var businessKey: String? = null,
    @ApiModelProperty(name = "流程自定义参数")
    var params: MutableMap<String, Any> = mutableMapOf(),
    @ApiModelProperty(name = "任务创建时间")
    var createTime: Long = 0,
    @ApiModelProperty(name = "标题")
    var title: String? = null,
    @ApiModelProperty(name = "流程描述")
    var description: String? = null,
    @ApiModelProperty(name = "流程发起人")
    var startUser: UserVo? = null,
    @ApiModelProperty(name = "待办人列表")
    var pendingUserList: List<UserVo> = mutableListOf()
)
